//
//  BiotopeSeletCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/9/12.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class BiotopeSeletCell: BaseTableViewCell {
    
    @IBOutlet weak var leftLabel: UILabel!
    
    
    @IBOutlet weak var rightImage: UIImageView!
    
    var model : BiotopeModel?{
    
    
        didSet{
        
            if model == nil {
                return
            }
            
            rightImage.isHidden = !(model!.isSelect)
            
            
            leftLabel.text = model?.name
        
        }
    
    
    
    }
    

    override func awakeFromNib() {
        super.awakeFromNib()
        contentView.backgroundColor = UIColor.white
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
